Unable to delete mailbox due to error "Cannot bind parameter because parameter 'MailboxState' is specified more than once."
I recently tried to delete a user account but was unable to because of this error. I have deleted mailboxes before but this doesn't want to delete because of the below error message. Does anyone know what is going wrong here and how to fix it? Error from console: [PS] C:\Windows\system32>Remove-StoreMailbox -DatabaseName -Identity "Billy Joe Bob" -MailboxState SoftDeleted Remove-StoreMailbox : Cannot bind parameter because parameter 'MailboxState' is specified more than once. To provide multiple values to parameters that can accept multiple values, use the array syntax. For example, "-parameter value1,value2,value3". At line:1 char:73 + Remove-StoreMailbox -Mailbox Database 0599273416 -Identity "Carl Olsen" -Mailbox ... + ~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Remove-StoreMailbox], ParameterBindingException + FullyQualifiedErrorId : ParameterAlreadyBound,Remove-StoreMailbox
April 18th, 2013 2:01pm

Hello, If you use the cmdlet "remove-mailbox" to delele mailbox, the mailbox is maked as disabled immediately after the remove-mailbox cmdlet completes. To view disabled mailboxes, run the get-malboxstatistics cmdlet against a database using the property DisconnectReason with a value of Disabled. Cara Chen TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
April 19th, 2013 9:26am

Hello, If you use the cmdlet "remove-mailbox" to delele mailbox, the mailbox is maked as disabled immediately after the remove-mailbox cmdlet completes. To view disabled mailboxes, run the get-malboxstatistics cmdlet against a database using the property DisconnectReason with a value of Disabled. Cara Chen TechNet Community Support
April 19th, 2013 4:20pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics